home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gcc_260.zip / gcc_260 / gcc.info-18 (.txt) < prev    next >
GNU Info File  |  1994-07-14  |  51KB  |  945 lines

  1. This is Info file gcc.info, produced by Makeinfo-1.54 from the input
  2. file gcc.texi.
  3.    This file documents the use and the internals of the GNU compiler.
  4.    Published by the Free Software Foundation 675 Massachusetts Avenue
  5. Cambridge, MA 02139 USA
  6.    Copyright (C) 1988, 1989, 1992, 1993 Free Software Foundation, Inc.
  7.    Permission is granted to make and distribute verbatim copies of this
  8. manual provided the copyright notice and this permission notice are
  9. preserved on all copies.
  10.    Permission is granted to copy and distribute modified versions of
  11. this manual under the conditions for verbatim copying, provided also
  12. that the sections entitled "GNU General Public License" and "Protect
  13. Your Freedom--Fight `Look And Feel'" are included exactly as in the
  14. original, and provided that the entire resulting derived work is
  15. distributed under the terms of a permission notice identical to this
  16.    Permission is granted to copy and distribute translations of this
  17. manual into another language, under the above conditions for modified
  18. versions, except that the sections entitled "GNU General Public
  19. License" and "Protect Your Freedom--Fight `Look And Feel'", and this
  20. permission notice, may be included in translations approved by the Free
  21. Software Foundation instead of in the original English.
  22. File: gcc.info,  Node: Driver,  Next: Run-time Target,  Up: Target Macros
  23. Controlling the Compilation Driver, `gcc'
  24. =========================================
  25. `SWITCH_TAKES_ARG (CHAR)'
  26.      A C expression which determines whether the option `-CHAR' takes
  27.      arguments.  The value should be the number of arguments that
  28.      option takes-zero, for many options.
  29.      By default, this macro is defined to handle the standard options
  30.      properly.  You need not define it unless you wish to add additional
  31.      options which take arguments.
  32. `WORD_SWITCH_TAKES_ARG (NAME)'
  33.      A C expression which determines whether the option `-NAME' takes
  34.      arguments.  The value should be the number of arguments that
  35.      option takes-zero, for many options.  This macro rather than
  36.      `SWITCH_TAKES_ARG' is used for multi-character option names.
  37.      By default, this macro is defined as
  38.      `DEFAULT_WORD_SWITCH_TAKES_ARG', which handles the standard options
  39.      properly.  You need not define `WORD_SWITCH_TAKES_ARG' unless you
  40.      wish to add additional options which take arguments.  Any
  41.      redefinition should call `DEFAULT_WORD_SWITCH_TAKES_ARG' and then
  42.      check for additional options.
  43. `SWITCHES_NEED_SPACES'
  44.      A string-valued C expression which is nonempty if the linker needs
  45.      a space between the `-L' or `-o' option and its argument.
  46.      If this macro is not defined, the default value is 0.
  47. `CPP_SPEC'
  48.      A C string constant that tells the GNU CC driver program options to
  49.      pass to CPP.  It can also specify how to translate options you
  50.      give to GNU CC into options for GNU CC to pass to the CPP.
  51.      Do not define this macro if it does not need to do anything.
  52. `NO_BUILTIN_SIZE_TYPE'
  53.      If this macro is defined, the preprocessor will not define the
  54.      builtin macro `__SIZE_TYPE__'.  The macro `__SIZE_TYPE__' must
  55.      then be defined by `CPP_SPEC' instead.
  56.      This should be defined if `SIZE_TYPE' depends on target dependent
  57.      flags which are not accessible to the preprocessor.  Otherwise, it
  58.      should not be defined.
  59. `NO_BUILTIN_PTRDIFF_TYPE'
  60.      If this macro is defined, the preprocessor will not define the
  61.      builtin macro `__PTRDIFF_TYPE__'.  The macro `__PTRDIFF_TYPE__'
  62.      must then be defined by `CPP_SPEC' instead.
  63.      This should be defined if `PTRDIFF_TYPE' depends on target
  64.      dependent flags which are not accessible to the preprocessor.
  65.      Otherwise, it should not be defined.
  66. `SIGNED_CHAR_SPEC'
  67.      A C string constant that tells the GNU CC driver program options to
  68.      pass to CPP.  By default, this macro is defined to pass the option
  69.      `-D__CHAR_UNSIGNED__' to CPP if `char' will be treated as
  70.      `unsigned char' by `cc1'.
  71.      Do not define this macro unless you need to override the default
  72.      definition.
  73. `CC1_SPEC'
  74.      A C string constant that tells the GNU CC driver program options to
  75.      pass to `cc1'.  It can also specify how to translate options you
  76.      give to GNU CC into options for GNU CC to pass to the `cc1'.
  77.      Do not define this macro if it does not need to do anything.
  78. `CC1PLUS_SPEC'
  79.      A C string constant that tells the GNU CC driver program options to
  80.      pass to `cc1plus'.  It can also specify how to translate options
  81.      you give to GNU CC into options for GNU CC to pass to the
  82.      `cc1plus'.
  83.      Do not define this macro if it does not need to do anything.
  84. `ASM_SPEC'
  85.      A C string constant that tells the GNU CC driver program options to
  86.      pass to the assembler.  It can also specify how to translate
  87.      options you give to GNU CC into options for GNU CC to pass to the
  88.      assembler.  See the file `sun3.h' for an example of this.
  89.      Do not define this macro if it does not need to do anything.
  90. `ASM_FINAL_SPEC'
  91.      A C string constant that tells the GNU CC driver program how to
  92.      run any programs which cleanup after the normal assembler.
  93.      Normally, this is not needed.  See the file `mips.h' for an
  94.      example of this.
  95.      Do not define this macro if it does not need to do anything.
  96. `LINK_SPEC'
  97.      A C string constant that tells the GNU CC driver program options to
  98.      pass to the linker.  It can also specify how to translate options
  99.      you give to GNU CC into options for GNU CC to pass to the linker.
  100.      Do not define this macro if it does not need to do anything.
  101. `LIB_SPEC'
  102.      Another C string constant used much like `LINK_SPEC'.  The
  103.      difference between the two is that `LIB_SPEC' is used at the end
  104.      of the command given to the linker.
  105.      If this macro is not defined, a default is provided that loads the
  106.      standard C library from the usual place.  See `gcc.c'.
  107. `STARTFILE_SPEC'
  108.      Another C string constant used much like `LINK_SPEC'.  The
  109.      difference between the two is that `STARTFILE_SPEC' is used at the
  110.      very beginning of the command given to the linker.
  111.      If this macro is not defined, a default is provided that loads the
  112.      standard C startup file from the usual place.  See `gcc.c'.
  113. `ENDFILE_SPEC'
  114.      Another C string constant used much like `LINK_SPEC'.  The
  115.      difference between the two is that `ENDFILE_SPEC' is used at the
  116.      very end of the command given to the linker.
  117.      Do not define this macro if it does not need to do anything.
  118. `LINK_LIBGCC_SPECIAL'
  119.      Define this macro meaning that `gcc' should find the library
  120.      `libgcc.a' by hand, rather than passing the argument `-lgcc' to
  121.      tell the linker to do the search; also, `gcc' should not generate
  122.      `-L' options to pass to the linker (as it normally does).
  123. `LINK_LIBGCC_SPECIAL_1'
  124.      Define this macro meaning that `gcc' should find the library
  125.      `libgcc.a' by hand, rather than passing the argument `-lgcc' to
  126.      tell the linker to do the search.
  127. `RELATIVE_PREFIX_NOT_LINKDIR'
  128.      Define this macro to tell `gcc' that it should only translate a
  129.      `-B' prefix into a `-L' linker option if the prefix indicates an
  130.      absolute file name.
  131. `STANDARD_EXEC_PREFIX'
  132.      Define this macro as a C string constant if you wish to override
  133.      the standard choice of `/usr/local/lib/gcc-lib/' as the default
  134.      prefix to try when searching for the executable files of the
  135.      compiler.
  136. `MD_EXEC_PREFIX'
  137.      If defined, this macro is an additional prefix to try after
  138.      `STANDARD_EXEC_PREFIX'.  `MD_EXEC_PREFIX' is not searched when the
  139.      `-b' option is used, or the compiler is built as a cross compiler.
  140. `STANDARD_STARTFILE_PREFIX'
  141.      Define this macro as a C string constant if you wish to override
  142.      the standard choice of `/usr/local/lib/' as the default prefix to
  143.      try when searching for startup files such as `crt0.o'.
  144. `MD_STARTFILE_PREFIX'
  145.      If defined, this macro supplies an additional prefix to try after
  146.      the standard prefixes.  `MD_EXEC_PREFIX' is not searched when the
  147.      `-b' option is used, or when the compiler is built as a cross
  148.      compiler.
  149. `MD_STARTFILE_PREFIX_1'
  150.      If defined, this macro supplies yet another prefix to try after the
  151.      standard prefixes.  It is not searched when the `-b' option is
  152.      used, or when the compiler is built as a cross compiler.
  153. `LOCAL_INCLUDE_DIR'
  154.      Define this macro as a C string constant if you wish to override
  155.      the standard choice of `/usr/local/include' as the default prefix
  156.      to try when searching for local header files.  `LOCAL_INCLUDE_DIR'
  157.      comes before `SYSTEM_INCLUDE_DIR' in the search order.
  158.      Cross compilers do not use this macro and do not search either
  159.      `/usr/local/include' or its replacement.
  160. `SYSTEM_INCLUDE_DIR'
  161.      Define this macro as a C string constant if you wish to specify a
  162.      system-specific directory to search for header files before the
  163.      standard directory.  `SYSTEM_INCLUDE_DIR' comes before
  164.      `STANDARD_INCLUDE_DIR' in the search order.
  165.      Cross compilers do not use this macro and do not search the
  166.      directory specified.
  167. `STANDARD_INCLUDE_DIR'
  168.      Define this macro as a C string constant if you wish to override
  169.      the standard choice of `/usr/include' as the default prefix to try
  170.      when searching for header files.
  171.      Cross compilers do not use this macro and do not search either
  172.      `/usr/include' or its replacement.
  173. `INCLUDE_DEFAULTS'
  174.      Define this macro if you wish to override the entire default
  175.      search path for include files.  The default search path includes
  176.      `GCC_INCLUDE_DIR', `LOCAL_INCLUDE_DIR', `SYSTEM_INCLUDE_DIR',
  177.      `GPLUSPLUS_INCLUDE_DIR', and `STANDARD_INCLUDE_DIR'.  In addition,
  178.      `GPLUSPLUS_INCLUDE_DIR' and `GCC_INCLUDE_DIR' are defined
  179.      automatically by `Makefile', and specify private search areas for
  180.      GCC.  The directory `GPLUSPLUS_INCLUDE_DIR' is used only for C++
  181.      programs.
  182.      The definition should be an initializer for an array of structures.
  183.      Each array element should have two elements: the directory name (a
  184.      string constant) and a flag for C++-only directories.  Mark the
  185.      end of the array with a null element.  For example, here is the
  186.      definition used for VMS:
  187.           #define INCLUDE_DEFAULTS \
  188.           {                                       \
  189.             { "GNU_GXX_INCLUDE:", 1},             \
  190.             { "GNU_CC_INCLUDE:", 0},              \
  191.             { "SYS$SYSROOT:[SYSLIB.]", 0},        \
  192.             { ".", 0},                            \
  193.             { 0, 0}                               \
  194.           }
  195.    Here is the order of prefixes tried for exec files:
  196.   1. Any prefixes specified by the user with `-B'.
  197.   2. The environment variable `GCC_EXEC_PREFIX', if any.
  198.   3. The directories specified by the environment variable
  199.      `COMPILER_PATH'.
  200.   4. The macro `STANDARD_EXEC_PREFIX'.
  201.   5. `/usr/lib/gcc/'.
  202.   6. The macro `MD_EXEC_PREFIX', if any.
  203.    Here is the order of prefixes tried for startfiles:
  204.   1. Any prefixes specified by the user with `-B'.
  205.   2. The environment variable `GCC_EXEC_PREFIX', if any.
  206.   3. The directories specified by the environment variable
  207.      `LIBRARY_PATH'.
  208.   4. The macro `STANDARD_EXEC_PREFIX'.
  209.   5. `/usr/lib/gcc/'.
  210.   6. The macro `MD_EXEC_PREFIX', if any.
  211.   7. The macro `MD_STARTFILE_PREFIX', if any.
  212.   8. The macro `STANDARD_STARTFILE_PREFIX'.
  213.   9. `/lib/'.
  214.  10. `/usr/lib/'.
  215. File: gcc.info,  Node: Run-time Target,  Next: Storage Layout,  Prev: Driver,  Up: Target Macros
  216. Run-time Target Specification
  217. =============================
  218. `CPP_PREDEFINES'
  219.      Define this to be a string constant containing `-D' options to
  220.      define the predefined macros that identify this machine and system.
  221.      These macros will be predefined unless the `-ansi' option is
  222.      specified.
  223.      In addition, a parallel set of macros are predefined, whose names
  224.      are made by appending `__' at the beginning and at the end.  These
  225.      `__' macros are permitted by the ANSI standard, so they are
  226.      predefined regardless of whether `-ansi' is specified.
  227.      For example, on the Sun, one can use the following value:
  228.           "-Dmc68000 -Dsun -Dunix"
  229.      The result is to define the macros `__mc68000__', `__sun__' and
  230.      `__unix__' unconditionally, and the macros `mc68000', `sun' and
  231.      `unix' provided `-ansi' is not specified.
  232. `STDC_VALUE'
  233.      Define the value to be assigned to the built-in macro `__STDC__'.
  234.      The default is the value `1'.
  235. `extern int target_flags;'
  236.      This declaration should be present.
  237. `TARGET_...'
  238.      This series of macros is to allow compiler command arguments to
  239.      enable or disable the use of optional features of the target
  240.      machine.  For example, one machine description serves both the
  241.      68000 and the 68020; a command argument tells the compiler whether
  242.      it should use 68020-only instructions or not.  This command
  243.      argument works by means of a macro `TARGET_68020' that tests a bit
  244.      in `target_flags'.
  245.      Define a macro `TARGET_FEATURENAME' for each such option.  Its
  246.      definition should test a bit in `target_flags'; for example:
  247.           #define TARGET_68020 (target_flags & 1)
  248.      One place where these macros are used is in the
  249.      condition-expressions of instruction patterns.  Note how
  250.      `TARGET_68020' appears frequently in the 68000 machine description
  251.      file, `m68k.md'.  Another place they are used is in the
  252.      definitions of the other macros in the `MACHINE.h' file.
  253. `TARGET_SWITCHES'
  254.      This macro defines names of command options to set and clear bits
  255.      in `target_flags'.  Its definition is an initializer with a
  256.      subgrouping for each command option.
  257.      Each subgrouping contains a string constant, that defines the
  258.      option name, and a number, which contains the bits to set in
  259.      `target_flags'.  A negative number says to clear bits instead; the
  260.      negative of the number is which bits to clear.  The actual option
  261.      name is made by appending `-m' to the specified name.
  262.      One of the subgroupings should have a null string.  The number in
  263.      this grouping is the default value for `target_flags'.  Any target
  264.      options act starting with that value.
  265.      Here is an example which defines `-m68000' and `-m68020' with
  266.      opposite meanings, and picks the latter as the default:
  267.           #define TARGET_SWITCHES \
  268.             { { "68020", 1},      \
  269.               { "68000", -1},     \
  270.               { "", 1}}
  271. `TARGET_OPTIONS'
  272.      This macro is similar to `TARGET_SWITCHES' but defines names of
  273.      command options that have values.  Its definition is an
  274.      initializer with a subgrouping for each command option.
  275.      Each subgrouping contains a string constant, that defines the
  276.      fixed part of the option name, and the address of a variable.  The
  277.      variable, type `char *', is set to the variable part of the given
  278.      option if the fixed part matches.  The actual option name is made
  279.      by appending `-m' to the specified name.
  280.      Here is an example which defines `-mshort-data-NUMBER'.  If the
  281.      given option is `-mshort-data-512', the variable `m88k_short_data'
  282.      will be set to the string `"512"'.
  283.           extern char *m88k_short_data;
  284.           #define TARGET_OPTIONS \
  285.            { { "short-data-", &m88k_short_data } }
  286. `TARGET_VERSION'
  287.      This macro is a C statement to print on `stderr' a string
  288.      describing the particular machine description choice.  Every
  289.      machine description should define `TARGET_VERSION'.  For example:
  290.           #ifdef MOTOROLA
  291.           #define TARGET_VERSION \
  292.             fprintf (stderr, " (68k, Motorola syntax)");
  293.           #else
  294.           #define TARGET_VERSION \
  295.             fprintf (stderr, " (68k, MIT syntax)");
  296.           #endif
  297. `OVERRIDE_OPTIONS'
  298.      Sometimes certain combinations of command options do not make
  299.      sense on a particular target machine.  You can define a macro
  300.      `OVERRIDE_OPTIONS' to take account of this.  This macro, if
  301.      defined, is executed once just after all the command options have
  302.      been parsed.
  303.      Don't use this macro to turn on various extra optimizations for
  304.      `-O'.  That is what `OPTIMIZATION_OPTIONS' is for.
  305. `OPTIMIZATION_OPTIONS (LEVEL)'
  306.      Some machines may desire to change what optimizations are
  307.      performed for various optimization levels.   This macro, if
  308.      defined, is executed once just after the optimization level is
  309.      determined and before the remainder of the command options have
  310.      been parsed.  Values set in this macro are used as the default
  311.      values for the other command line options.
  312.      LEVEL is the optimization level specified; 2 if `-O2' is
  313.      specified, 1 if `-O' is specified, and 0 if neither is specified.
  314.      You should not use this macro to change options that are not
  315.      machine-specific.  These should uniformly selected by the same
  316.      optimization level on all supported machines.  Use this macro to
  317.      enable machbine-specific optimizations.
  318.      *Do not examine `write_symbols' in this macro!* The debugging
  319.      options are not supposed to alter the generated code.
  320. `CAN_DEBUG_WITHOUT_FP'
  321.      Define this macro if debugging can be performed even without a
  322.      frame pointer.  If this macro is defined, GNU CC will turn on the
  323.      `-fomit-frame-pointer' option whenever `-O' is specified.
  324. File: gcc.info,  Node: Storage Layout,  Next: Type Layout,  Prev: Run-time Target,  Up: Target Macros
  325. Storage Layout
  326. ==============
  327.    Note that the definitions of the macros in this table which are
  328. sizes or alignments measured in bits do not need to be constant.  They
  329. can be C expressions that refer to static variables, such as the
  330. `target_flags'.  *Note Run-time Target::.
  331. `BITS_BIG_ENDIAN'
  332.      Define this macro to be the value 1 if the most significant bit in
  333.      a byte has the lowest number; otherwise define it to be the value
  334.      zero.  This means that bit-field instructions count from the most
  335.      significant bit.  If the machine has no bit-field instructions,
  336.      then this must still be defined, but it doesn't matter which value
  337.      it is defined to.
  338.      This macro does not affect the way structure fields are packed into
  339.      bytes or words; that is controlled by `BYTES_BIG_ENDIAN'.
  340. `BYTES_BIG_ENDIAN'
  341.      Define this macro to be 1 if the most significant byte in a word
  342.      has the lowest number.
  343. `WORDS_BIG_ENDIAN'
  344.      Define this macro to be 1 if, in a multiword object, the most
  345.      significant word has the lowest number.  This applies to both
  346.      memory locations and registers; GNU CC fundamentally assumes that
  347.      the order of words in memory is the same as the order in registers.
  348. `FLOAT_WORDS_BIG_ENDIAN'
  349.      Define this macro to be 1 if `DFmode', `XFmode' or `TFmode'
  350.      floating point numbers are stored in memory with the word
  351.      containing the sign bit at the lowest address; otherwise define it
  352.      to be 0.
  353.      You need not define this macro if the ordering is the same as for
  354.      multi-word integers.
  355. `BITS_PER_UNIT'
  356.      Define this macro to be the number of bits in an addressable
  357.      storage unit (byte); normally 8.
  358. `BITS_PER_WORD'
  359.      Number of bits in a word; normally 32.
  360. `MAX_BITS_PER_WORD'
  361.      Maximum number of bits in a word.  If this is undefined, the
  362.      default is `BITS_PER_WORD'.  Otherwise, it is the constant value
  363.      that is the largest value that `BITS_PER_WORD' can have at
  364.      run-time.
  365. `UNITS_PER_WORD'
  366.      Number of storage units in a word; normally 4.
  367. `MAX_UNITS_PER_WORD'
  368.      Maximum number of units in a word.  If this is undefined, the
  369.      default is `UNITS_PER_WORD'.  Otherwise, it is the constant value
  370.      that is the largest value that `UNITS_PER_WORD' can have at
  371.      run-time.
  372. `POINTER_SIZE'
  373.      Width of a pointer, in bits.
  374. `PROMOTE_MODE (M, UNSIGNEDP, TYPE)'
  375.      A macro to update M and UNSIGNEDP when an object whose type is
  376.      TYPE and which has the specified mode and signedness is to be
  377.      stored in a register.  This macro is only called when TYPE is a
  378.      scalar type.
  379.      On most RISC machines, which only have operations that operate on
  380.      a full register, define this macro to set M to `word_mode' if M is
  381.      an integer mode narrower than `BITS_PER_WORD'.  In most cases,
  382.      only integer modes should be widened because wider-precision
  383.      floating-point operations are usually more expensive than their
  384.      narrower counterparts.
  385.      For most machines, the macro definition does not change UNSIGNEDP.
  386.      However, some machines, have instructions that preferentially
  387.      handle either signed or unsigned quantities of certain modes.  For
  388.      example, on the DEC Alpha, 32-bit loads from memory and 32-bit add
  389.      instructions sign-extend the result to 64 bits.  On such machines,
  390.      set UNSIGNEDP according to which kind of extension is more
  391.      efficient.
  392.      Do not define this macro if it would never modify M.
  393. `PROMOTE_FUNCTION_ARGS'
  394.      Define this macro if the promotion described by `PROMOTE_MODE'
  395.      should also be done for outgoing function arguments.
  396. `PROMOTE_FUNCTION_RETURN'
  397.      Define this macro if the promotion described by `PROMOTE_MODE'
  398.      should also be done for the return value of functions.
  399.      If this macro is defined, `FUNCTION_VALUE' must perform the same
  400.      promotions done by `PROMOTE_MODE'.
  401. `PROMOTE_FOR_CALL_ONLY'
  402.      Define this macro if the promotion described by `PROMOTE_MODE'
  403.      should *only* be performed for outgoing function arguments or
  404.      function return values, as specified by `PROMOTE_FUNCTION_ARGS'
  405.      and `PROMOTE_FUNCTION_RETURN', respectively.
  406. `PARM_BOUNDARY'
  407.      Normal alignment required for function parameters on the stack, in
  408.      bits.  All stack parameters receive at least this much alignment
  409.      regardless of data type.  On most machines, this is the same as the
  410.      size of an integer.
  411. `STACK_BOUNDARY'
  412.      Define this macro if you wish to preserve a certain alignment for
  413.      the stack pointer.  The definition is a C expression for the
  414.      desired alignment (measured in bits).
  415.      If `PUSH_ROUNDING' is not defined, the stack will always be aligned
  416.      to the specified boundary.  If `PUSH_ROUNDING' is defined and
  417.      specifies a less strict alignment than `STACK_BOUNDARY', the stack
  418.      may be momentarily unaligned while pushing arguments.
  419. `FUNCTION_BOUNDARY'
  420.      Alignment required for a function entry point, in bits.
  421. `BIGGEST_ALIGNMENT'
  422.      Biggest alignment that any data type can require on this machine,
  423.      in bits.
  424. `BIGGEST_FIELD_ALIGNMENT'
  425.      Biggest alignment that any structure field can require on this
  426.      machine, in bits.  If defined, this overrides `BIGGEST_ALIGNMENT'
  427.      for structure fields only.
  428. `MAX_OFILE_ALIGNMENT'
  429.      Biggest alignment supported by the object file format of this
  430.      machine.  Use this macro to limit the alignment which can be
  431.      specified using the `__attribute__ ((aligned (N)))' construct.  If
  432.      not defined, the default value is `BIGGEST_ALIGNMENT'.
  433. `DATA_ALIGNMENT (TYPE, BASIC-ALIGN)'
  434.      If defined, a C expression to compute the alignment for a static
  435.      variable.  TYPE is the data type, and BASIC-ALIGN is the alignment
  436.      that the object would ordinarily have.  The value of this macro is
  437.      used instead of that alignment to align the object.
  438.      If this macro is not defined, then BASIC-ALIGN is used.
  439.      One use of this macro is to increase alignment of medium-size data
  440.      to make it all fit in fewer cache lines.  Another is to cause
  441.      character arrays to be word-aligned so that `strcpy' calls that
  442.      copy constants to character arrays can be done inline.
  443. `CONSTANT_ALIGNMENT (CONSTANT, BASIC-ALIGN)'
  444.      If defined, a C expression to compute the alignment given to a
  445.      constant that is being placed in memory.  CONSTANT is the constant
  446.      and BASIC-ALIGN is the alignment that the object would ordinarily
  447.      have.  The value of this macro is used instead of that alignment to
  448.      align the object.
  449.      If this macro is not defined, then BASIC-ALIGN is used.
  450.      The typical use of this macro is to increase alignment for string
  451.      constants to be word aligned so that `strcpy' calls that copy
  452.      constants can be done inline.
  453. `EMPTY_FIELD_BOUNDARY'
  454.      Alignment in bits to be given to a structure bit field that
  455.      follows an empty field such as `int : 0;'.
  456.      Note that `PCC_BITFIELD_TYPE_MATTERS' also affects the alignment
  457.      that results from an empty field.
  458. `STRUCTURE_SIZE_BOUNDARY'
  459.      Number of bits which any structure or union's size must be a
  460.      multiple of.  Each structure or union's size is rounded up to a
  461.      multiple of this.
  462.      If you do not define this macro, the default is the same as
  463.      `BITS_PER_UNIT'.
  464. `STRICT_ALIGNMENT'
  465.      Define this macro to be the value 1 if instructions will fail to
  466.      work if given data not on the nominal alignment.  If instructions
  467.      will merely go slower in that case, define this macro as 0.
  468. `PCC_BITFIELD_TYPE_MATTERS'
  469.      Define this if you wish to imitate the way many other C compilers
  470.      handle alignment of bitfields and the structures that contain them.
  471.      The behavior is that the type written for a bitfield (`int',
  472.      `short', or other integer type) imposes an alignment for the
  473.      entire structure, as if the structure really did contain an
  474.      ordinary field of that type.  In addition, the bitfield is placed
  475.      within the structure so that it would fit within such a field, not
  476.      crossing a boundary for it.
  477.      Thus, on most machines, a bitfield whose type is written as `int'
  478.      would not cross a four-byte boundary, and would force four-byte
  479.      alignment for the whole structure.  (The alignment used may not be
  480.      four bytes; it is controlled by the other alignment parameters.)
  481.      If the macro is defined, its definition should be a C expression;
  482.      a nonzero value for the expression enables this behavior.
  483.      Note that if this macro is not defined, or its value is zero, some
  484.      bitfields may cross more than one alignment boundary.  The
  485.      compiler can support such references if there are `insv', `extv',
  486.      and `extzv' insns that can directly reference memory.
  487.      The other known way of making bitfields work is to define
  488.      `STRUCTURE_SIZE_BOUNDARY' as large as `BIGGEST_ALIGNMENT'.  Then
  489.      every structure can be accessed with fullwords.
  490.      Unless the machine has bitfield instructions or you define
  491.      `STRUCTURE_SIZE_BOUNDARY' that way, you must define
  492.      `PCC_BITFIELD_TYPE_MATTERS' to have a nonzero value.
  493.      If your aim is to make GNU CC use the same conventions for laying
  494.      out bitfields as are used by another compiler, here is how to
  495.      investigate what the other compiler does.  Compile and run this
  496.      program:
  497.           struct foo1
  498.           {
  499.             char x;
  500.             char :0;
  501.             char y;
  502.           };
  503.           
  504.           struct foo2
  505.           {
  506.             char x;
  507.             int :0;
  508.             char y;
  509.           };
  510.           
  511.           main ()
  512.           {
  513.             printf ("Size of foo1 is %d\n",
  514.                     sizeof (struct foo1));
  515.             printf ("Size of foo2 is %d\n",
  516.                     sizeof (struct foo2));
  517.             exit (0);
  518.           }
  519.      If this prints 2 and 5, then the compiler's behavior is what you
  520.      would get from `PCC_BITFIELD_TYPE_MATTERS'.
  521. `BITFIELD_NBYTES_LIMITED'
  522.      Like PCC_BITFIELD_TYPE_MATTERS except that its effect is limited to
  523.      aligning a bitfield within the structure.
  524. `ROUND_TYPE_SIZE (STRUCT, SIZE, ALIGN)'
  525.      Define this macro as an expression for the overall size of a
  526.      structure (given by STRUCT as a tree node) when the size computed
  527.      from the fields is SIZE and the alignment is ALIGN.
  528.      The default is to round SIZE up to a multiple of ALIGN.
  529. `ROUND_TYPE_ALIGN (STRUCT, COMPUTED, SPECIFIED)'
  530.      Define this macro as an expression for the alignment of a structure
  531.      (given by STRUCT as a tree node) if the alignment computed in the
  532.      usual way is COMPUTED and the alignment explicitly specified was
  533.      SPECIFIED.
  534.      The default is to use SPECIFIED if it is larger; otherwise, use
  535.      the smaller of COMPUTED and `BIGGEST_ALIGNMENT'
  536. `MAX_FIXED_MODE_SIZE'
  537.      An integer expression for the size in bits of the largest integer
  538.      machine mode that should actually be used.  All integer machine
  539.      modes of this size or smaller can be used for structures and
  540.      unions with the appropriate sizes.  If this macro is undefined,
  541.      `GET_MODE_BITSIZE (DImode)' is assumed.
  542. `CHECK_FLOAT_VALUE (MODE, VALUE, OVERFLOW)'
  543.      A C statement to validate the value VALUE (of type `double') for
  544.      mode MODE.  This means that you check whether VALUE fits within
  545.      the possible range of values for mode MODE on this target machine.
  546.      The mode MODE is always a mode of class `MODE_FLOAT'.  OVERFLOW
  547.      is nonzero if the value is already known to be out of range.
  548.      If VALUE is not valid or if OVERFLOW is nonzero, you should set
  549.      OVERFLOW to 1 and then assign some valid value to VALUE.  Allowing
  550.      an invalid value to go through the compiler can produce incorrect
  551.      assembler code which may even cause Unix assemblers to crash.
  552.      This macro need not be defined if there is no work for it to do.
  553. `TARGET_FLOAT_FORMAT'
  554.      A code distinguishing the floating point format of the target
  555.      machine.  There are three defined values:
  556.     `IEEE_FLOAT_FORMAT'
  557.           This code indicates IEEE floating point.  It is the default;
  558.           there is no need to define this macro when the format is IEEE.
  559.     `VAX_FLOAT_FORMAT'
  560.           This code indicates the peculiar format used on the Vax.
  561.     `UNKNOWN_FLOAT_FORMAT'
  562.           This code indicates any other format.
  563.      The value of this macro is compared with `HOST_FLOAT_FORMAT'
  564.      (*note Config::.) to determine whether the target machine has the
  565.      same format as the host machine.  If any other formats are
  566.      actually in use on supported machines, new codes should be defined
  567.      for them.
  568.      The ordering of the component words of floating point values
  569.      stored in memory is controlled by `FLOAT_WORDS_BIG_ENDIAN' for the
  570.      target machine and `HOST_FLOAT_WORDS_BIG_ENDIAN' for the host.
  571. File: gcc.info,  Node: Type Layout,  Next: Registers,  Prev: Storage Layout,  Up: Target Macros
  572. Layout of Source Language Data Types
  573. ====================================
  574.    These macros define the sizes and other characteristics of the
  575. standard basic data types used in programs being compiled.  Unlike the
  576. macros in the previous section, these apply to specific features of C
  577. and related languages, rather than to fundamental aspects of storage
  578. layout.
  579. `INT_TYPE_SIZE'
  580.      A C expression for the size in bits of the type `int' on the
  581.      target machine.  If you don't define this, the default is one word.
  582. `MAX_INT_TYPE_SIZE'
  583.      Maximum number for the size in bits of the type `int' on the target
  584.      machine.  If this is undefined, the default is `INT_TYPE_SIZE'.
  585.      Otherwise, it is the constant value that is the largest value that
  586.      `INT_TYPE_SIZE' can have at run-time.  This is used in `cpp'.
  587. `SHORT_TYPE_SIZE'
  588.      A C expression for the size in bits of the type `short' on the
  589.      target machine.  If you don't define this, the default is half a
  590.      word.  (If this would be less than one storage unit, it is rounded
  591.      up to one unit.)
  592. `LONG_TYPE_SIZE'
  593.      A C expression for the size in bits of the type `long' on the
  594.      target machine.  If you don't define this, the default is one word.
  595. `MAX_LONG_TYPE_SIZE'
  596.      Maximum number for the size in bits of the type `long' on the
  597.      target machine.  If this is undefined, the default is
  598.      `LONG_TYPE_SIZE'.  Otherwise, it is the constant value that is the
  599.      largest value that `LONG_TYPE_SIZE' can have at run-time.  This is
  600.      used in `cpp'.
  601. `LONG_LONG_TYPE_SIZE'
  602.      A C expression for the size in bits of the type `long long' on the
  603.      target machine.  If you don't define this, the default is two
  604.      words.
  605. `CHAR_TYPE_SIZE'
  606.      A C expression for the size in bits of the type `char' on the
  607.      target machine.  If you don't define this, the default is one
  608.      quarter of a word.  (If this would be less than one storage unit,
  609.      it is rounded up to one unit.)
  610. `MAX_CHAR_TYPE_SIZE'
  611.      Maximum number for the size in bits of the type `char' on the
  612.      target machine.  If this is undefined, the default is
  613.      `CHAR_TYPE_SIZE'.  Otherwise, it is the constant value that is the
  614.      largest value that `CHAR_TYPE_SIZE' can have at run-time.  This is
  615.      used in `cpp'.
  616. `FLOAT_TYPE_SIZE'
  617.      A C expression for the size in bits of the type `float' on the
  618.      target machine.  If you don't define this, the default is one word.
  619. `DOUBLE_TYPE_SIZE'
  620.      A C expression for the size in bits of the type `double' on the
  621.      target machine.  If you don't define this, the default is two
  622.      words.
  623. `LONG_DOUBLE_TYPE_SIZE'
  624.      A C expression for the size in bits of the type `long double' on
  625.      the target machine.  If you don't define this, the default is two
  626.      words.
  627. `DEFAULT_SIGNED_CHAR'
  628.      An expression whose value is 1 or 0, according to whether the type
  629.      `char' should be signed or unsigned by default.  The user can
  630.      always override this default with the options `-fsigned-char' and
  631.      `-funsigned-char'.
  632. `DEFAULT_SHORT_ENUMS'
  633.      A C expression to determine whether to give an `enum' type only as
  634.      many bytes as it takes to represent the range of possible values
  635.      of that type.  A nonzero value means to do that; a zero value
  636.      means all `enum' types should be allocated like `int'.
  637.      If you don't define the macro, the default is 0.
  638. `SIZE_TYPE'
  639.      A C expression for a string describing the name of the data type
  640.      to use for size values.  The typedef name `size_t' is defined
  641.      using the contents of the string.
  642.      The string can contain more than one keyword.  If so, separate
  643.      them with spaces, and write first any length keyword, then
  644.      `unsigned' if appropriate, and finally `int'.  The string must
  645.      exactly match one of the data type names defined in the function
  646.      `init_decl_processing' in the file `c-decl.c'.  You may not omit
  647.      `int' or change the order--that would cause the compiler to crash
  648.      on startup.
  649.      If you don't define this macro, the default is `"long unsigned
  650.      int"'.
  651. `PTRDIFF_TYPE'
  652.      A C expression for a string describing the name of the data type
  653.      to use for the result of subtracting two pointers.  The typedef
  654.      name `ptrdiff_t' is defined using the contents of the string.  See
  655.      `SIZE_TYPE' above for more information.
  656.      If you don't define this macro, the default is `"long int"'.
  657. `WCHAR_TYPE'
  658.      A C expression for a string describing the name of the data type
  659.      to use for wide characters.  The typedef name `wchar_t' is defined
  660.      using the contents of the string.  See `SIZE_TYPE' above for more
  661.      information.
  662.      If you don't define this macro, the default is `"int"'.
  663. `WCHAR_TYPE_SIZE'
  664.      A C expression for the size in bits of the data type for wide
  665.      characters.  This is used in `cpp', which cannot make use of
  666.      `WCHAR_TYPE'.
  667. `MAX_WCHAR_TYPE_SIZE'
  668.      Maximum number for the size in bits of the data type for wide
  669.      characters.  If this is undefined, the default is
  670.      `WCHAR_TYPE_SIZE'.  Otherwise, it is the constant value that is the
  671.      largest value that `WCHAR_TYPE_SIZE' can have at run-time.  This is
  672.      used in `cpp'.
  673. `OBJC_INT_SELECTORS'
  674.      Define this macro if the type of Objective C selectors should be
  675.      `int'.
  676.      If this macro is not defined, then selectors should have the type
  677.      `struct objc_selector *'.
  678. `OBJC_SELECTORS_WITHOUT_LABELS'
  679.      Define this macro if the compiler can group all the selectors
  680.      together into a vector and use just one label at the beginning of
  681.      the vector.  Otherwise, the compiler must give each selector its
  682.      own assembler label.
  683.      On certain machines, it is important to have a separate label for
  684.      each selector because this enables the linker to eliminate
  685.      duplicate selectors.
  686. `TARGET_BELL'
  687.      A C constant expression for the integer value for escape sequence
  688.      `\a'.
  689. `TARGET_BS'
  690. `TARGET_TAB'
  691. `TARGET_NEWLINE'
  692.      C constant expressions for the integer values for escape sequences
  693.      `\b', `\t' and `\n'.
  694. `TARGET_VT'
  695. `TARGET_FF'
  696. `TARGET_CR'
  697.      C constant expressions for the integer values for escape sequences
  698.      `\v', `\f' and `\r'.
  699. File: gcc.info,  Node: Registers,  Next: Register Classes,  Prev: Type Layout,  Up: Target Macros
  700. Register Usage
  701. ==============
  702.    This section explains how to describe what registers the target
  703. machine has, and how (in general) they can be used.
  704.    The description of which registers a specific instruction can use is
  705. done with register classes; see *Note Register Classes::.  For
  706. information on using registers to access a stack frame, see *Note Frame
  707. Registers::.  For passing values in registers, see *Note Register
  708. Arguments::.  For returning values in registers, see *Note Scalar
  709. Return::.
  710. * Menu:
  711. * Register Basics::        Number and kinds of registers.
  712. * Allocation Order::        Order in which registers are allocated.
  713. * Values in Registers::        What kinds of values each reg can hold.
  714. * Leaf Functions::        Renumbering registers for leaf functions.
  715. * Stack Registers::        Handling a register stack such as 80387.
  716. * Obsolete Register Macros::    Macros formerly used for the 80387.
  717. File: gcc.info,  Node: Register Basics,  Next: Allocation Order,  Up: Registers
  718. Basic Characteristics of Registers
  719. ----------------------------------
  720. `FIRST_PSEUDO_REGISTER'
  721.      Number of hardware registers known to the compiler.  They receive
  722.      numbers 0 through `FIRST_PSEUDO_REGISTER-1'; thus, the first
  723.      pseudo register's number really is assigned the number
  724.      `FIRST_PSEUDO_REGISTER'.
  725. `FIXED_REGISTERS'
  726.      An initializer that says which registers are used for fixed
  727.      purposes all throughout the compiled code and are therefore not
  728.      available for general allocation.  These would include the stack
  729.      pointer, the frame pointer (except on machines where that can be
  730.      used as a general register when no frame pointer is needed), the
  731.      program counter on machines where that is considered one of the
  732.      addressable registers, and any other numbered register with a
  733.      standard use.
  734.      This information is expressed as a sequence of numbers, separated
  735.      by commas and surrounded by braces.  The Nth number is 1 if
  736.      register N is fixed, 0 otherwise.
  737.      The table initialized from this macro, and the table initialized by
  738.      the following one, may be overridden at run time either
  739.      automatically, by the actions of the macro
  740.      `CONDITIONAL_REGISTER_USAGE', or by the user with the command
  741.      options `-ffixed-REG', `-fcall-used-REG' and `-fcall-saved-REG'.
  742. `CALL_USED_REGISTERS'
  743.      Like `FIXED_REGISTERS' but has 1 for each register that is
  744.      clobbered (in general) by function calls as well as for fixed
  745.      registers.  This macro therefore identifies the registers that are
  746.      not available for general allocation of values that must live
  747.      across function calls.
  748.      If a register has 0 in `CALL_USED_REGISTERS', the compiler
  749.      automatically saves it on function entry and restores it on
  750.      function exit, if the register is used within the function.
  751. `CONDITIONAL_REGISTER_USAGE'
  752.      Zero or more C statements that may conditionally modify two
  753.      variables `fixed_regs' and `call_used_regs' (both of type `char
  754.      []') after they have been initialized from the two preceding
  755.      macros.
  756.      This is necessary in case the fixed or call-clobbered registers
  757.      depend on target flags.
  758.      You need not define this macro if it has no work to do.
  759.      If the usage of an entire class of registers depends on the target
  760.      flags, you may indicate this to GCC by using this macro to modify
  761.      `fixed_regs' and `call_used_regs' to 1 for each of the registers
  762.      in the classes which should not be used by GCC.  Also define the
  763.      macro `REG_CLASS_FROM_LETTER' to return `NO_REGS' if it is called
  764.      with a letter for a class that shouldn't be used.
  765.      (However, if this class is not included in `GENERAL_REGS' and all
  766.      of the insn patterns whose constraints permit this class are
  767.      controlled by target switches, then GCC will automatically avoid
  768.      using these registers when the target switches are opposed to
  769.      them.)
  770. `NON_SAVING_SETJMP'
  771.      If this macro is defined and has a nonzero value, it means that
  772.      `setjmp' and related functions fail to save the registers, or that
  773.      `longjmp' fails to restore them.  To compensate, the compiler
  774.      avoids putting variables in registers in functions that use
  775.      `setjmp'.
  776. `INCOMING_REGNO (OUT)'
  777.      Define this macro if the target machine has register windows.
  778.      This C expression returns the register number as seen by the
  779.      called function corresponding to the register number OUT as seen
  780.      by the calling function.  Return OUT if register number OUT is not
  781.      an outbound register.
  782. `OUTGOING_REGNO (IN)'
  783.      Define this macro if the target machine has register windows.
  784.      This C expression returns the register number as seen by the
  785.      calling function corresponding to the register number IN as seen
  786.      by the called function.  Return IN if register number IN is not an
  787.      inbound register.
  788. File: gcc.info,  Node: Allocation Order,  Next: Values in Registers,  Prev: Register Basics,  Up: Registers
  789. Order of Allocation of Registers
  790. --------------------------------
  791. `REG_ALLOC_ORDER'
  792.      If defined, an initializer for a vector of integers, containing the
  793.      numbers of hard registers in the order in which GNU CC should
  794.      prefer to use them (from most preferred to least).
  795.      If this macro is not defined, registers are used lowest numbered
  796.      first (all else being equal).
  797.      One use of this macro is on machines where the highest numbered
  798.      registers must always be saved and the save-multiple-registers
  799.      instruction supports only sequences of consecutive registers.  On
  800.      such machines, define `REG_ALLOC_ORDER' to be an initializer that
  801.      lists the highest numbered allocatable register first.
  802. `ORDER_REGS_FOR_LOCAL_ALLOC'
  803.      A C statement (sans semicolon) to choose the order in which to
  804.      allocate hard registers for pseudo-registers local to a basic
  805.      block.
  806.      Store the desired register order in the array `reg_alloc_order'.
  807.      Element 0 should be the register to allocate first; element 1, the
  808.      next register; and so on.
  809.      The macro body should not assume anything about the contents of
  810.      `reg_alloc_order' before execution of the macro.
  811.      On most machines, it is not necessary to define this macro.
  812. File: gcc.info,  Node: Values in Registers,  Next: Leaf Functions,  Prev: Allocation Order,  Up: Registers
  813. How Values Fit in Registers
  814. ---------------------------
  815.    This section discusses the macros that describe which kinds of values
  816. (specifically, which machine modes) each register can hold, and how many
  817. consecutive registers are needed for a given mode.
  818. `HARD_REGNO_NREGS (REGNO, MODE)'
  819.      A C expression for the number of consecutive hard registers,
  820.      starting at register number REGNO, required to hold a value of mode
  821.      MODE.
  822.      On a machine where all registers are exactly one word, a suitable
  823.      definition of this macro is
  824.           #define HARD_REGNO_NREGS(REGNO, MODE)            \
  825.              ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1)  \
  826.               / UNITS_PER_WORD))
  827. `HARD_REGNO_MODE_OK (REGNO, MODE)'
  828.      A C expression that is nonzero if it is permissible to store a
  829.      value of mode MODE in hard register number REGNO (or in several
  830.      registers starting with that one).  For a machine where all
  831.      registers are equivalent, a suitable definition is
  832.           #define HARD_REGNO_MODE_OK(REGNO, MODE) 1
  833.      It is not necessary for this macro to check for the numbers of
  834.      fixed registers, because the allocation mechanism considers them
  835.      to be always occupied.
  836.      On some machines, double-precision values must be kept in even/odd
  837.      register pairs.  The way to implement that is to define this macro
  838.      to reject odd register numbers for such modes.
  839.      The minimum requirement for a mode to be OK in a register is that
  840.      the `movMODE' instruction pattern support moves between the
  841.      register and any other hard register for which the mode is OK; and
  842.      that moving a value into the register and back out not alter it.
  843.      Since the same instruction used to move `SImode' will work for all
  844.      narrower integer modes, it is not necessary on any machine for
  845.      `HARD_REGNO_MODE_OK' to distinguish between these modes, provided
  846.      you define patterns `movhi', etc., to take advantage of this.  This
  847.      is useful because of the interaction between `HARD_REGNO_MODE_OK'
  848.      and `MODES_TIEABLE_P'; it is very desirable for all integer modes
  849.      to be tieable.
  850.      Many machines have special registers for floating point arithmetic.
  851.      Often people assume that floating point machine modes are allowed
  852.      only in floating point registers.  This is not true.  Any
  853.      registers that can hold integers can safely *hold* a floating
  854.      point machine mode, whether or not floating arithmetic can be done
  855.      on it in those registers.  Integer move instructions can be used
  856.      to move the values.
  857.      On some machines, though, the converse is true: fixed-point machine
  858.      modes may not go in floating registers.  This is true if the
  859.      floating registers normalize any value stored in them, because
  860.      storing a non-floating value there would garble it.  In this case,
  861.      `HARD_REGNO_MODE_OK' should reject fixed-point machine modes in
  862.      floating registers.  But if the floating registers do not
  863.      automatically normalize, if you can store any bit pattern in one
  864.      and retrieve it unchanged without a trap, then any machine mode
  865.      may go in a floating register, so you can define this macro to say
  866.      so.
  867.      The primary significance of special floating registers is rather
  868.      that they are the registers acceptable in floating point arithmetic
  869.      instructions.  However, this is of no concern to
  870.      `HARD_REGNO_MODE_OK'.  You handle it by writing the proper
  871.      constraints for those instructions.
  872.      On some machines, the floating registers are especially slow to
  873.      access, so that it is better to store a value in a stack frame
  874.      than in such a register if floating point arithmetic is not being
  875.      done.  As long as the floating registers are not in class
  876.      `GENERAL_REGS', they will not be used unless some pattern's
  877.      constraint asks for one.
  878. `MODES_TIEABLE_P (MODE1, MODE2)'
  879.      A C expression that is nonzero if it is desirable to choose
  880.      register allocation so as to avoid move instructions between a
  881.      value of mode MODE1 and a value of mode MODE2.
  882.      If `HARD_REGNO_MODE_OK (R, MODE1)' and `HARD_REGNO_MODE_OK (R,
  883.      MODE2)' are ever different for any R, then `MODES_TIEABLE_P (MODE1,
  884.      MODE2)' must be zero.
  885. File: gcc.info,  Node: Leaf Functions,  Next: Stack Registers,  Prev: Values in Registers,  Up: Registers
  886. Handling Leaf Functions
  887. -----------------------
  888.    On some machines, a leaf function (i.e., one which makes no calls)
  889. can run more efficiently if it does not make its own register window.
  890. Often this means it is required to receive its arguments in the
  891. registers where they are passed by the caller, instead of the registers
  892. where they would normally arrive.
  893.    The special treatment for leaf functions generally applies only when
  894. other conditions are met; for example, often they may use only those
  895. registers for its own variables and temporaries.  We use the term "leaf
  896. function" to mean a function that is suitable for this special
  897. handling, so that functions with no calls are not necessarily "leaf
  898. functions".
  899.    GNU CC assigns register numbers before it knows whether the function
  900. is suitable for leaf function treatment.  So it needs to renumber the
  901. registers in order to output a leaf function.  The following macros
  902. accomplish this.
  903. `LEAF_REGISTERS'
  904.      A C initializer for a vector, indexed by hard register number,
  905.      which contains 1 for a register that is allowable in a candidate
  906.      for leaf function treatment.
  907.      If leaf function treatment involves renumbering the registers,
  908.      then the registers marked here should be the ones before
  909.      renumbering--those that GNU CC would ordinarily allocate.  The
  910.      registers which will actually be used in the assembler code, after
  911.      renumbering, should not be marked with 1 in this vector.
  912.      Define this macro only if the target machine offers a way to
  913.      optimize the treatment of leaf functions.
  914. `LEAF_REG_REMAP (REGNO)'
  915.      A C expression whose value is the register number to which REGNO
  916.      should be renumbered, when a function is treated as a leaf
  917.      function.
  918.      If REGNO is a register number which should not appear in a leaf
  919.      function before renumbering, then the expression should yield -1,
  920.      which will cause the compiler to abort.
  921.      Define this macro only if the target machine offers a way to
  922.      optimize the treatment of leaf functions, and registers need to be
  923.      renumbered to do this.
  924.    Normally, `FUNCTION_PROLOGUE' and `FUNCTION_EPILOGUE' must treat
  925. leaf functions specially.  It can test the C variable `leaf_function'
  926. which is nonzero for leaf functions.  (The variable `leaf_function' is
  927. defined only if `LEAF_REGISTERS' is defined.)
  928. File: gcc.info,  Node: Stack Registers,  Next: Obsolete Register Macros,  Prev: Leaf Functions,  Up: Registers
  929. Registers That Form a Stack
  930. ---------------------------
  931.    There are special features to handle computers where some of the
  932. "registers" form a stack, as in the 80387 coprocessor for the 80386.
  933. Stack registers are normally written by pushing onto the stack, and are
  934. numbered relative to the top of the stack.
  935.    Currently, GNU CC can only handle one group of stack-like registers,
  936. and they must be consecutively numbered.
  937. `STACK_REGS'
  938.      Define this if the machine has any stack-like registers.
  939. `FIRST_STACK_REG'
  940.      The number of the first stack-like register.  This one is the top
  941.      of the stack.
  942. `LAST_STACK_REG'
  943.      The number of the last stack-like register.  This one is the
  944.      bottom of the stack.
  945.